
.footer {
  display: flex;
  justify-content: space-between;  
  align-items: flex-start;  
  padding: 30px;   
  height: 160px;
  width: 100%;
  background-color: #eeeeee;
  margin-top: 20px; /* 添加顶部外边距 */
}

.footer-left {  
  flex: 1;  
  text-align: left;  
  margin-right: 20px;
  padding-left: 50px;
  padding-right: 50px;
}  

.footer-logo {  
  margin-bottom: 10px;  
}

.footer-right {  
  flex: 1;  
  display: flex;  
  flex-direction: column; 
  justify-content: space-between; 
  width: 550px;
}  

.footer-link {  
  background-color: #ffffff;
  padding: 10px;  
  margin-bottom: 13px;  
  width: 70%;  
}

.img1 {
  width: 450px;
  height: 50px;
  margin-top: 2%;
}

.img1 img {
  width: 50px;
  height: 50px;
}

@media (max-width: 768px) {
  .header {
      flex-direction: column;
      width: 360px;
      height: 560px;
      margin: 0 auto;
      margin-top: 100px;
      margin-bottom: 20px;
  }

  .header img {
      margin: 5% 5%;
  }

  .names1 {
      margin: auto 20%;
  }

  .header h1 {
      order: 1;
  }

  .header p {
      order: 2;
  }

  .header img {
      order: 3;
      margin-top: 5px;
  }

  .work {
      padding: 30px;
  }

  .content .item {
      flex: 0 0 calc(50% - 20px); 
      margin: 5px 0;
  }

  .content {
      margin: 0px 5px 20px 0px;
  }
}

@media (max-width: 1400px) {
  .footer {
      flex-direction: column;
      align-items: center;
      height: auto;
      padding: 20px;
  }
  
  .footer-logo {
      margin-bottom: 10px;
  }

  .footer-link {
      width: 90%;
      text-align: center;
      margin: 10px 0;
  }
}

@media (max-width: 991px) {
  .footer {
      flex-direction: column;
      align-items: center;
      height: auto;
      padding: 20px;
      margin-top: 20px;
  }

  .footer-right {
      width: 100%;
      margin: 20px 0;
      align-items: center;
  }

  .footer-link {
      width: 90%;
      text-align: center;
      margin: 10px 0;
  }

  .img1 {
      display: none;
  }
}

@media (max-width: 368px) {
  .footer {
      flex-direction: column;
      align-items: center;
      height: auto;
      padding: 20px;
      margin-top: 20px;
  }

  .footer-right {
      width: 100%;
      margin: 20px 0;
      align-items: center;
  }

  .footer-link {
      width: 90%;
      text-align: center;
      margin: 10px 0;
  }

  .img1 {
      display: none;
  }
}
